package com.offcn.seckill.service;
import com.offcn.seckill.pojo.SeckillOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.offcn.entity.PageResult;
import com.offcn.seckill.thread.SecKillOrderStatus;

import java.util.List;
/****
 * @Author:ujiuye
 * @Description:SeckillOrder业务层接口
 * @Date 2021/2/1 14:19
 *****/

public interface SeckillOrderService extends IService<SeckillOrder> {



    /**
     * 添加 订单
     */
    Boolean add(Long id,String time,String username);

    /**
     * 抢单 状态查询方法
     */
    SecKillOrderStatus queryStatus(String username);
}
